Platform Explorer / Nuxeo Platform 2023.9

Component org.nuxeo.ecm.localconf.theme

Resolution Order

235
The resolution order represents the order in which this component has been resolved by the Nuxeo Runtime framework.
You can influence this order by adding "require" tags in your component declaration, to make sure it is resolved after another component.

Contributions

XML Source

<component name="org.nuxeo.ecm.localconf.theme">

  <extension target="org.nuxeo.ecm.platform.actions.ActionService"
    point="actions">

    <action id="THEME_CONFIGURATION" link="/incl/tabs/theme_configuration.xhtml"
      order="100" label="action.view.theme" icon="/icons/file.gif">
      <category>LOCAL_CONFIGURATION</category>
      <filter-id>manage</filter-id>
    </action>

  </extension>

  <extension target="org.nuxeo.ecm.platform.forms.layout.WebLayoutManager"
    point="layouts">

    <layout name="theme_configuration">
      <templates>
        <template mode="any">
          /layouts/layout_local_configuration_template.xhtml
        </template>
      </templates>
      <properties mode="any">
        <property name="layoutTemplateToInclude">
          /layouts/layout_default_template.xhtml
        </property>
        <property name="foldableBoxLabel">
          label.local.configuration.theme
        </property>
        <property name="localConfigurationFacet">
          ThemeLocalConfiguration
        </property>
        <property name="helpLabel">
          label.local.configuration.theme.info
        </property>
        <property name="elementsToReRender">
          local_configuration_panel
        </property>
      </properties>
      <rows>
        <row>
          <widget>flavor_selection</widget>
        </row>
      </rows>
      <widget name="flavor_selection" type="template">
        <labels>
          <label mode="any">
            label.local.configuration.theme.flavorSelection
          </label>
        </labels>
        <helpLabels>
          <label mode="any">
            label.local.configuration.theme.flavorSelection.help
          </label>
        </helpLabels>
        <translated>true</translated>
        <fields>
          <field>themeconf:flavor</field>
        </fields>
        <properties mode="any">
          <property name="template">
            /widgets/select_flavor_widget_template.xhtml
          </property>
        </properties>
      </widget>
    </layout>

  </extension>

</component>